<template>
  <div :class="$style.wrap">
    <p :class="$style.title">{{ title }}</p>
    <div>
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  name: 'ContainerTitle',
  props: {
    title: {
      type: [String],
      default: ''
    }
  }
}
</script>
<style lang="scss" module>
.wrap{
    .title{
        color: #333;
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 10px 0;
    }
}
</style>
